package com.pss.oauth2.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 接口权限表
 * @TableName api_role
 */
@TableName(value ="api_role")
@Data
public class ApiRole implements Serializable {
    /**
     * 请求路径
     */
    @TableField(value = "api_url")
    private String apiUrl;

    /**
     * 可访问权限
     */
    @TableField(value = "roles")
    private String roles;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

}